package com.hdax.dmw.entity.item;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.hdax.dmw.entity.BaseTimeEntity;
import lombok.Data;

/**
 * 剧评表
 * @TableName dm_item_comment
 */
@TableName(value ="dm_item_comment")
@Data
public class ItemComment extends BaseTimeEntity implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 剧目Id
     */
    private Long itemId;

    /**
     * 评论用户ID
     */
    private Long userId;

    /**
     * 评分(1-10)
     */
    private Integer score;

    /**
     * 剧评
     */
    private String content;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}